package com.heima.tabletennis_basketball;

public abstract class Person {
    private String name;
    private String ball;

    public Person(String name, String ball) {
        this.name = name;
        this.ball = ball;
    }

    public String getName() {
        return name;
    }

    public String getBall() {
        return ball;
    }


    public abstract void study();
}
